$$('a[rel~=nofollow]').each(function(i){
    i.observe('click', function(e){
        var l = e.element();
        _gaq.push(['_trackEvent', 'nofollow', 'click', l.href]);
    });
});
